643dcce1a361a9be175ab36589cab268c2fa8c15,src/edu/stanford/nlp/pipeline/ParserAnnotator.java,ParserAnnotator,signature,#String#Properties#,149
Before Change
os.append(annotatorName + ".nthreads:" +
props.getProperty(annotatorName + ".nthreads", props.getProperty("nthreads", "")));
os.append(annotatorName + ".binaryTrees:" +
props.getProperty(annotatorName + ".binaryTrees", "false"));
return os.toString();
}
After Change
props.getProperty(annotatorName + ".buildgraphs", "true"));
os.append(annotatorName + ".nthreads:" +
props.getProperty(annotatorName + ".nthreads", props.getProperty("nthreads", "")));
boolean usesBinary = StanfordCoreNLP.usesBinaryTrees(props);
boolean saveBinaryTrees = PropertiesUtils.getBool(props, annotatorName + ".binaryTrees", usesBinary);
os.append(annotatorName + ".binaryTrees:" + saveBinaryTrees);
return os.toString();